package com.example.dao.impl;

import com.example.dao.UserDao;
import org.springframework.stereotype.Repository;

@Repository("userDao")
public class UserDaoImpl implements UserDao {
    @Override
    public String selectUserById(Integer id) {
        return "select * from user where uid="+id;
    }

    @Override
    public String updateUserStatusById(Integer id,String status) {
        return "update user set status='"+status+"' where uid="+id;
    }
}
